package com.spzx.product.mapper;

import com.spzx.product.domain.Category;
import com.spzx.product.vo.CategoryVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

public interface CategoryMapper {
    List<CategoryVo> treeSelect(Long id);

    long count(Long id);

    List<Category> selectList();

    void saveBatch(@Param("categoryList") List<Category> categoryList);

    Set<Long> selectIds();
}
